package domain.components;

import com.uqbar.vainilla.DeltaState;
import com.uqbar.vainilla.GameComponent;
import com.uqbar.vainilla.appearances.Sprite;
import com.uqbar.vainilla.events.constants.Key;

import domain.scenes.GameOptionsScene;

public class GameOver extends GameComponent {

	
	public void update(DeltaState deltaState) {
		
		super.update(deltaState);
		
		if(deltaState.isKeyPressed(Key.ENTER)){
			this.getGame().setCurrentScene(new GameOptionsScene());
		}
	}
}
